import { createSlice } from "@reduxjs/toolkit";
const tabSlice = createSlice({
    name: "tab",
    initialState: {
        isCollapse: false,
    },
    reducers: {
        isCollapse(state) {
            state.isCollapse = !state.isCollapse;
        },
    },

})

export const { isCollapse } = tabSlice.actions;
export default tabSlice.reducer;
